package io.github.bloquesoft.entity.clazz;

import io.github.bloquesoft.entity.definition.AbstractPropertyDefinition;
import io.github.bloquesoft.entity.definition.PropertyType;
import lombok.Getter;

import java.lang.reflect.Field;

public abstract class AbstractClassPropertyDefinition extends AbstractPropertyDefinition {

    @Getter
    private final Field field;

    public AbstractClassPropertyDefinition(Field field, PropertyType propertyType) {
        super(field.getName(), propertyType);
        this.field = field;
    }
}